﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

@using Resources;
@using sipfe.util;
@{   
    Layout = "";
    var DOCEMPRESA = new List<SelectListItem> { 
        new SelectListItem { Text = "RUC", Value = "5"}
    };       
}
<script type="text/javascript" language="javascript" src="@Url.Content(@properties.personaJS)" ></script>

<script type="text/javascript">
    $(function () {
        
        //calendarioFechaNac('dtFecNacim');
    });
    
</script>
@using (Html.BeginForm("AddNuevaIntitucionInv", "DatosPersonales", FormMethod.Post))
{        
    @Html.Hidden("idCampo", Request["idCampo"])
    @Html.Hidden("nombreCampo", Request["nombreCampo"])
    
    <table border="0" style="width: 100%;" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>                
            <td>
                <table border="0" cellpadding="3" cellspacing="0">
                <tbody class="tituloCelesteN8">
                    <tr>
                        <td>País Emisor<span class="asterisco">(*)</span></td>
                        <td>Tipo de documento<span class="asterisco">(*)</span></td>
                        <td>Número de documento<span class="asterisco">(*)</span></td>
                    </tr>
                    <tr>
                        <td>@Html.DropDownList("nIdeCodPaisDocInsert", (IEnumerable<SelectListItem>)ViewBag.PaisEmisor, new { @class = "select8" })</td>
                        <td>@Html.DropDownList("nIdeTipoDocumInsert", (IEnumerable<SelectListItem>)DOCEMPRESA, new { @class = "select8" })</td>
                        <td><input type="text" id="NumDocInstitucionInsert" name="NumDocInstitucionInsert"  style="width:100px;" onkeypress = "return validaAlfaNumTamanio(this,event,20);"  onblur = "javascript:onBlurUpper(this); javascript:validaDocumentoPersona(this,'2','2','#nIdeTipoDocumInsert','#nIdeCodPaisDocInsert');" /></td>                        
                    </tr>
                    <tr>                        
                        <td colspan="3">Nombre o Razón Social de la Institución Educativa<span class="asterisco">(*)</span></td>
                    </tr>
                    <tr>                       
                        <td colspan="3"><input type="text" id="vRazonSocialInsert" name="vRazonSocialInsert"  style="width:600px;"  /></td>
                    </tr>              
                </tbody>
                </table>
            </td>
        </tr>
</tbody>
</table>
<table border="0" cellpadding="10" cellspacing="0" style="width:100%;">
    <tr align="left">
        <td width="40%"><b>Campo Obligatorio:</b>&nbsp;<span class="asterisco">(*)</span></td>        
        <td width="50%"><input type="button" value="Registrar" onclick="javascript: addNuevaIntitucionFinal(this.form);" /></td>
        <td width="10%" align="right"><img src="@Url.Content("~/images/sunat.jpg")" class="lupita3" alt="SUNAT" onclick="javascript:consultaSunat();" /></td>
    </tr>
</table>
}